package com.jiazhong.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.commons.Util.JsonResult;
import com.jiazhong.commons.bean.User;
import org.springframework.stereotype.Service;

@Service
public interface AuthService extends IService<User> {

    JsonResult login(User user);

    JsonResult logout(String token);

    JsonResult register(User user);
}
